import { IMediator } from "./IMediator";

export interface IMediatorMap {
    mapView(viewName: string, mediatorClassName: string, autoCreator: any, autoRemove: boolean): void;

    unmapView(viewName): void;

    createMediator(viewComponent): IMediator;

    registerMediator(viewComponent, mediator: IMediator): void;

    removeMediator(mediator: IMediator): IMediator;

    removeMediatorByView(viewComponent): IMediator;

    retrieveMediator(viewComponent): IMediator;

    hasMapping(viewName): boolean;

    hasMediator(mediator: IMediator): boolean;

    hasMediatorForView(viewComponent): boolean;


}